package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.time.OffsetDateTime;

/**
 * 报警数据分页查询条件
 * @author 86159
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AlertDataDto {
    @ApiModelProperty("主键")
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("处理时间")
    private LocalDateTime processingTime;

    // 处理结果
    @Excel(name = "处理结果")
    @ApiModelProperty("处理结果")
    private String processingResult;

}
